<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkRange</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GTK+ 3 参考手册">
<link rel="up" href="AbstractObjects.html" title="抽象基类">
<link rel="prev" href="gtk3-GtkMisc.html" title="GtkMisc">
<link rel="next" href="gtk3-GtkIMContext.html" title="GtkIMContext">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="gtk3-GtkMisc.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="AbstractObjects.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ 3 参考手册</th>
<td><a accesskey="n" href="gtk3-GtkIMContext.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#gtk3-GtkRange.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#gtk3-GtkRange.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="gtk3-GtkRange"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gtk3-GtkRange.top_of_page"></a>GtkRange</span></h2>
<p>GtkRange — Base class for widgets which visualize an adjustment</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="gtk3-GtkRange.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;gtk/gtk.h&gt;

struct              <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange">GtkRange</a>;
<a href="../glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>             <a class="link" href="gtk3-GtkRange.html#gtk-range-get-fill-level" title="gtk_range_get_fill_level ()">gtk_range_get_fill_level</a>            (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gtk3-GtkRange.html#gtk-range-get-restrict-to-fill-level" title="gtk_range_get_restrict_to_fill_level ()">gtk_range_get_restrict_to_fill_level</a>
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gtk3-GtkRange.html#gtk-range-get-show-fill-level" title="gtk_range_get_show_fill_level ()">gtk_range_get_show_fill_level</a>       (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkRange.html#gtk-range-set-fill-level" title="gtk_range_set_fill_level ()">gtk_range_set_fill_level</a>            (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> fill_level</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkRange.html#gtk-range-set-restrict-to-fill-level" title="gtk_range_set_restrict_to_fill_level ()">gtk_range_set_restrict_to_fill_level</a>
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> restrict_to_fill_level</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkRange.html#gtk-range-set-show-fill-level" title="gtk_range_set_show_fill_level ()">gtk_range_set_show_fill_level</a>       (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_fill_level</code></em>);
<a class="link" href="gtk3-GtkAdjustment.html#GtkAdjustment" title="struct GtkAdjustment"><span class="returnvalue">GtkAdjustment</span></a> *     <a class="link" href="gtk3-GtkRange.html#gtk-range-get-adjustment" title="gtk_range_get_adjustment ()">gtk_range_get_adjustment</a>            (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkRange.html#gtk-range-set-adjustment" title="gtk_range_set_adjustment ()">gtk_range_set_adjustment</a>            (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkAdjustment.html#GtkAdjustment" title="struct GtkAdjustment"><span class="type">GtkAdjustment</span></a> *adjustment</code></em>);
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gtk3-GtkRange.html#gtk-range-get-inverted" title="gtk_range_get_inverted ()">gtk_range_get_inverted</a>              (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkRange.html#gtk-range-set-inverted" title="gtk_range_set_inverted ()">gtk_range_set_inverted</a>              (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>);
<a href="../glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>             <a class="link" href="gtk3-GtkRange.html#gtk-range-get-value" title="gtk_range_get_value ()">gtk_range_get_value</a>                 (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkRange.html#gtk-range-set-value" title="gtk_range_set_value ()">gtk_range_set_value</a>                 (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> value</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkRange.html#gtk-range-set-increments" title="gtk_range_set_increments ()">gtk_range_set_increments</a>            (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> step</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> page</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkRange.html#gtk-range-set-range" title="gtk_range_set_range ()">gtk_range_set_range</a>                 (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> min</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> max</code></em>);
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="gtk3-GtkRange.html#gtk-range-get-round-digits" title="gtk_range_get_round_digits ()">gtk_range_get_round_digits</a>          (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkRange.html#gtk-range-set-round-digits" title="gtk_range_set_round_digits ()">gtk_range_set_round_digits</a>          (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> round_digits</code></em>);
enum                <a class="link" href="gtk3-GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType">GtkSensitivityType</a>;
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkRange.html#gtk-range-set-lower-stepper-sensitivity" title="gtk_range_set_lower_stepper_sensitivity ()">gtk_range_set_lower_stepper_sensitivity</a>
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="type">GtkSensitivityType</span></a> sensitivity</code></em>);
<a class="link" href="gtk3-GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="returnvalue">GtkSensitivityType</span></a>  <a class="link" href="gtk3-GtkRange.html#gtk-range-get-lower-stepper-sensitivity" title="gtk_range_get_lower_stepper_sensitivity ()">gtk_range_get_lower_stepper_sensitivity</a>
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkRange.html#gtk-range-set-upper-stepper-sensitivity" title="gtk_range_set_upper_stepper_sensitivity ()">gtk_range_set_upper_stepper_sensitivity</a>
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="type">GtkSensitivityType</span></a> sensitivity</code></em>);
<a class="link" href="gtk3-GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="returnvalue">GtkSensitivityType</span></a>  <a class="link" href="gtk3-GtkRange.html#gtk-range-get-upper-stepper-sensitivity" title="gtk_range_get_upper_stepper_sensitivity ()">gtk_range_get_upper_stepper_sensitivity</a>
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gtk3-GtkRange.html#gtk-range-get-flippable" title="gtk_range_get_flippable ()">gtk_range_get_flippable</a>             (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkRange.html#gtk-range-set-flippable" title="gtk_range_set_flippable ()">gtk_range_set_flippable</a>             (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> flippable</code></em>);
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="gtk3-GtkRange.html#gtk-range-get-min-slider-size" title="gtk_range_get_min_slider_size ()">gtk_range_get_min_slider_size</a>       (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkRange.html#gtk-range-get-range-rect" title="gtk_range_get_range_rect ()">gtk_range_get_range_rect</a>            (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="../gdk3/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *range_rect</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkRange.html#gtk-range-get-slider-range" title="gtk_range_get_slider_range ()">gtk_range_get_slider_range</a>          (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *slider_start</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *slider_end</code></em>);
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gtk3-GtkRange.html#gtk-range-get-slider-size-fixed" title="gtk_range_get_slider_size_fixed ()">gtk_range_get_slider_size_fixed</a>     (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkRange.html#gtk-range-set-min-slider-size" title="gtk_range_set_min_slider_size ()">gtk_range_set_min_slider_size</a>       (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> min_size</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkRange.html#gtk-range-set-slider-size-fixed" title="gtk_range_set_slider_size_fixed ()">gtk_range_set_slider_size_fixed</a>     (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> size_fixed</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="gtk3-GtkRange.description"></a><h2>Description</h2>
<p>
<a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> is the common base class for widgets which visualize an
adjustment, e.g <a class="link" href="gtk3-GtkScale.html#GtkScale" title="struct GtkScale"><span class="type">GtkScale</span></a> or <a class="link" href="gtk3-GtkScrollbar.html#GtkScrollbar" title="struct GtkScrollbar"><span class="type">GtkScrollbar</span></a>.
</p>
<p>
Apart from signals for monitoring the parameters of the adjustment,
<a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> provides properties and methods for influencing the sensitivity
of the "steppers". It also provides properties and methods for setting a
"fill level" on range widgets. See <a class="link" href="gtk3-GtkRange.html#gtk-range-set-fill-level" title="gtk_range_set_fill_level ()"><code class="function">gtk_range_set_fill_level()</code></a>.
</p>
</div>
<div class="refsect1">
<a name="gtk3-GtkRange.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GtkRange"></a><h3>struct GtkRange</h3>
<pre class="programlisting">struct GtkRange {
  GtkWidget widget;

  GtkRangePrivate *priv;
};
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-get-fill-level"></a><h3>gtk_range_get_fill_level ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>             gtk_range_get_fill_level            (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
<p>
Gets the current position of the fill level indicator.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The current fill level</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-get-restrict-to-fill-level"></a><h3>gtk_range_get_restrict_to_fill_level ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_range_get_restrict_to_fill_level
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
<p>
Gets whether the range is restricted to the fill level.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>range</code></em> is restricted to the fill level.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-get-show-fill-level"></a><h3>gtk_range_get_show_fill_level ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_range_get_show_fill_level       (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
<p>
Gets whether the range displays the fill level graphically.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>range</code></em> shows the fill level.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-set-fill-level"></a><h3>gtk_range_set_fill_level ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_fill_level            (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> fill_level</code></em>);</pre>
<p>
Set the new position of the fill level indicator.
</p>
<p>
The "fill level" is probably best described by its most prominent
use case, which is an indicator for the amount of pre-buffering in
a streaming media player. In that use case, the value of the range
would indicate the current play position, and the fill level would
be the position up to which the file/stream has been downloaded.
</p>
<p>
This amount of prebuffering can be displayed on the range's trough
and is themeable separately from the trough. To enable fill level
display, use <a class="link" href="gtk3-GtkRange.html#gtk-range-set-show-fill-level" title="gtk_range_set_show_fill_level ()"><code class="function">gtk_range_set_show_fill_level()</code></a>. The range defaults
to not showing the fill level.
</p>
<p>
Additionally, it's possible to restrict the range's slider position
to values which are smaller than the fill level. This is controller
by <a class="link" href="gtk3-GtkRange.html#gtk-range-set-restrict-to-fill-level" title="gtk_range_set_restrict_to_fill_level ()"><code class="function">gtk_range_set_restrict_to_fill_level()</code></a> and is by default
enabled.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>fill_level</code></em> :</span></p></td>
<td>the new position of the fill level indicator</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-set-restrict-to-fill-level"></a><h3>gtk_range_set_restrict_to_fill_level ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_restrict_to_fill_level
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> restrict_to_fill_level</code></em>);</pre>
<p>
Sets whether the slider is restricted to the fill level. See
<a class="link" href="gtk3-GtkRange.html#gtk-range-set-fill-level" title="gtk_range_set_fill_level ()"><code class="function">gtk_range_set_fill_level()</code></a> for a general description of the fill
level concept.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>restrict_to_fill_level</code></em> :</span></p></td>
<td>Whether the fill level restricts slider movement.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-set-show-fill-level"></a><h3>gtk_range_set_show_fill_level ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_show_fill_level       (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_fill_level</code></em>);</pre>
<p>
Sets whether a graphical fill level is show on the trough. See
<a class="link" href="gtk3-GtkRange.html#gtk-range-set-fill-level" title="gtk_range_set_fill_level ()"><code class="function">gtk_range_set_fill_level()</code></a> for a general description of the fill
level concept.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>show_fill_level</code></em> :</span></p></td>
<td>Whether a fill level indicator graphics is shown.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-get-adjustment"></a><h3>gtk_range_get_adjustment ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-GtkAdjustment.html#GtkAdjustment" title="struct GtkAdjustment"><span class="returnvalue">GtkAdjustment</span></a> *     gtk_range_get_adjustment            (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
<p>
Get the <a class="link" href="gtk3-GtkAdjustment.html#GtkAdjustment" title="struct GtkAdjustment"><span class="type">GtkAdjustment</span></a> which is the "model" object for <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>.
See <a class="link" href="gtk3-GtkRange.html#gtk-range-set-adjustment" title="gtk_range_set_adjustment ()"><code class="function">gtk_range_set_adjustment()</code></a> for details.
The return value does not have a reference added, so should not
be unreferenced.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkAdjustment.html#GtkAdjustment" title="struct GtkAdjustment"><span class="type">GtkAdjustment</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-set-adjustment"></a><h3>gtk_range_set_adjustment ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_adjustment            (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkAdjustment.html#GtkAdjustment" title="struct GtkAdjustment"><span class="type">GtkAdjustment</span></a> *adjustment</code></em>);</pre>
<p>
Sets the adjustment to be used as the "model" object for this range
widget. The adjustment indicates the current range value, the
minimum and maximum range values, the step/page increments used
for keybindings and scrolling, and the page size. The page size
is normally 0 for <a class="link" href="gtk3-GtkScale.html#GtkScale" title="struct GtkScale"><span class="type">GtkScale</span></a> and nonzero for <a class="link" href="gtk3-GtkScrollbar.html#GtkScrollbar" title="struct GtkScrollbar"><span class="type">GtkScrollbar</span></a>, and
indicates the size of the visible area of the widget being scrolled.
The page size affects the size of the scrollbar slider.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>adjustment</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkAdjustment.html#GtkAdjustment" title="struct GtkAdjustment"><span class="type">GtkAdjustment</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-get-inverted"></a><h3>gtk_range_get_inverted ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_range_get_inverted              (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
<p>
Gets the value set by <a class="link" href="gtk3-GtkRange.html#gtk-range-set-inverted" title="gtk_range_set_inverted ()"><code class="function">gtk_range_set_inverted()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the range is inverted</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-set-inverted"></a><h3>gtk_range_set_inverted ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_inverted              (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>);</pre>
<p>
Ranges normally move from lower to higher values as the
slider moves from top to bottom or left to right. Inverted
ranges have higher values at the top or on the right rather than
on the bottom or left.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>setting</code></em> :</span></p></td>
<td>
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to invert the range</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-get-value"></a><h3>gtk_range_get_value ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>             gtk_range_get_value                 (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
<p>
Gets the current value of the range.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>current value of the range.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-set-value"></a><h3>gtk_range_set_value ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_value                 (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> value</code></em>);</pre>
<p>
Sets the current value of the range; if the value is outside the
minimum or maximum range values, it will be clamped to fit inside
them. The range emits the <span class="type">"value-changed"</span> signal if the 
value changes.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
<td>new value of the range</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-set-increments"></a><h3>gtk_range_set_increments ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_increments            (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> step</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> page</code></em>);</pre>
<p>
Sets the step and page sizes for the range.
The step size is used when the user clicks the <a class="link" href="gtk3-GtkScrollbar.html#GtkScrollbar" title="struct GtkScrollbar"><span class="type">GtkScrollbar</span></a>
arrows or moves <a class="link" href="gtk3-GtkScale.html#GtkScale" title="struct GtkScale"><span class="type">GtkScale</span></a> via arrow keys. The page size
is used for example when moving via Page Up or Page Down keys.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>step</code></em> :</span></p></td>
<td>step size</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
<td>page size</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-set-range"></a><h3>gtk_range_set_range ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_range                 (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> min</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> max</code></em>);</pre>
<p>
Sets the allowable values in the <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>, and clamps the range
value to be between <em class="parameter"><code>min</code></em> and <em class="parameter"><code>max</code></em>. (If the range has a non-zero
page size, it is clamped between <em class="parameter"><code>min</code></em> and <em class="parameter"><code>max</code></em> - page-size.)
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>min</code></em> :</span></p></td>
<td>minimum range value</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>max</code></em> :</span></p></td>
<td>maximum range value</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-get-round-digits"></a><h3>gtk_range_get_round_digits ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_range_get_round_digits          (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
<p>
Gets the number of digits to round the value to when
it changes. See <span class="type">"change-value"</span>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the number of digits to round to</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.24</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-set-round-digits"></a><h3>gtk_range_set_round_digits ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_round_digits          (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> round_digits</code></em>);</pre>
<p>
Sets the number of digits to round the value to when
it changes. See <span class="type">"change-value"</span>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>round_digits</code></em> :</span></p></td>
<td>the precision in digits, or -1</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.24</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkSensitivityType"></a><h3>enum GtkSensitivityType</h3>
<pre class="programlisting">typedef enum {
  GTK_SENSITIVITY_AUTO,
  GTK_SENSITIVITY_ON,
  GTK_SENSITIVITY_OFF
} GtkSensitivityType;
</pre>
<p>
Determines how GTK+ handles the sensitivity of stepper arrows
at the end of range widgets.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-SENSITIVITY-AUTO:CAPS"></a><span class="term"><code class="literal">GTK_SENSITIVITY_AUTO</code></span></p></td>
<td>The arrow is made insensitive if the
  thumb is at the end
</td>
</tr>
<tr>
<td><p><a name="GTK-SENSITIVITY-ON:CAPS"></a><span class="term"><code class="literal">GTK_SENSITIVITY_ON</code></span></p></td>
<td>The arrow is always sensitive
</td>
</tr>
<tr>
<td><p><a name="GTK-SENSITIVITY-OFF:CAPS"></a><span class="term"><code class="literal">GTK_SENSITIVITY_OFF</code></span></p></td>
<td>The arrow is always insensitive
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-set-lower-stepper-sensitivity"></a><h3>gtk_range_set_lower_stepper_sensitivity ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_lower_stepper_sensitivity
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="type">GtkSensitivityType</span></a> sensitivity</code></em>);</pre>
<p>
Sets the sensitivity policy for the stepper that points to the
'lower' end of the GtkRange's adjustment.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>sensitivity</code></em> :</span></p></td>
<td>the lower stepper's sensitivity policy.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-get-lower-stepper-sensitivity"></a><h3>gtk_range_get_lower_stepper_sensitivity ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="returnvalue">GtkSensitivityType</span></a>  gtk_range_get_lower_stepper_sensitivity
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
<p>
Gets the sensitivity policy for the stepper that points to the
'lower' end of the GtkRange's adjustment.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The lower stepper's sensitivity policy.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-set-upper-stepper-sensitivity"></a><h3>gtk_range_set_upper_stepper_sensitivity ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_upper_stepper_sensitivity
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="type">GtkSensitivityType</span></a> sensitivity</code></em>);</pre>
<p>
Sets the sensitivity policy for the stepper that points to the
'upper' end of the GtkRange's adjustment.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>sensitivity</code></em> :</span></p></td>
<td>the upper stepper's sensitivity policy.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-get-upper-stepper-sensitivity"></a><h3>gtk_range_get_upper_stepper_sensitivity ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="returnvalue">GtkSensitivityType</span></a>  gtk_range_get_upper_stepper_sensitivity
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
<p>
Gets the sensitivity policy for the stepper that points to the
'upper' end of the GtkRange's adjustment.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The upper stepper's sensitivity policy.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-get-flippable"></a><h3>gtk_range_get_flippable ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_range_get_flippable             (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
<p>
Gets the value set by <a class="link" href="gtk3-GtkRange.html#gtk-range-set-flippable" title="gtk_range_set_flippable ()"><code class="function">gtk_range_set_flippable()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the range is flippable</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.18</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-set-flippable"></a><h3>gtk_range_set_flippable ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_flippable             (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> flippable</code></em>);</pre>
<p>
If a range is flippable, it will switch its direction if it is
horizontal and its direction is <code class="literal">GTK_TEXT_DIR_RTL</code>.
</p>
<p>
See <a class="link" href="gtk3-GtkWidget.html#gtk-widget-get-direction" title="gtk_widget_get_direction ()"><code class="function">gtk_widget_get_direction()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>flippable</code></em> :</span></p></td>
<td>
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to make the range flippable</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.18</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-get-min-slider-size"></a><h3>gtk_range_get_min_slider_size ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_range_get_min_slider_size       (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
<p>
This function is useful mainly for <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> subclasses.
</p>
<p>
See <a class="link" href="gtk3-GtkRange.html#gtk-range-set-min-slider-size" title="gtk_range_set_min_slider_size ()"><code class="function">gtk_range_set_min_slider_size()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The minimum size of the range's slider.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-get-range-rect"></a><h3>gtk_range_get_range_rect ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_get_range_rect            (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="../gdk3/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *range_rect</code></em>);</pre>
<p>
This function returns the area that contains the range's trough
and its steppers, in widget-&gt;window coordinates.
</p>
<p>
This function is useful mainly for <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> subclasses.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>range_rect</code></em> :</span></p></td>
<td>return location for the range rectangle. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-get-slider-range"></a><h3>gtk_range_get_slider_range ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_get_slider_range          (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *slider_start</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *slider_end</code></em>);</pre>
<p>
This function returns sliders range along the long dimension,
in widget-&gt;window coordinates.
</p>
<p>
This function is useful mainly for <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> subclasses.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>slider_start</code></em> :</span></p></td>
<td>return location for the slider's
start, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>slider_end</code></em> :</span></p></td>
<td>return location for the slider's
end, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-get-slider-size-fixed"></a><h3>gtk_range_get_slider_size_fixed ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_range_get_slider_size_fixed     (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
<p>
This function is useful mainly for <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> subclasses.
</p>
<p>
See <a class="link" href="gtk3-GtkRange.html#gtk-range-set-slider-size-fixed" title="gtk_range_set_slider_size_fixed ()"><code class="function">gtk_range_set_slider_size_fixed()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>whether the range's slider has a fixed size.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-set-min-slider-size"></a><h3>gtk_range_set_min_slider_size ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_min_slider_size       (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> min_size</code></em>);</pre>
<p>
Sets the minimum size of the range's slider.
</p>
<p>
This function is useful mainly for <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> subclasses.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>min_size</code></em> :</span></p></td>
<td>The slider's minimum size</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-range-set-slider-size-fixed"></a><h3>gtk_range_set_slider_size_fixed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_slider_size_fixed     (<em class="parameter"><code><a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> size_fixed</code></em>);</pre>
<p>
Sets whether the range's slider has a fixed size, or a size that
depends on its adjustment's page size.
</p>
<p>
This function is useful mainly for <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a> subclasses.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkRange.html#GtkRange" title="struct GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>size_fixed</code></em> :</span></p></td>
<td>
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to make the slider size constant</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>